package cn.cuilan.entity;

import cn.cuilan.base.VisibleEntity;

import javax.persistence.Entity;

/**
 * 书籍分类表
 *
 * @author zhangyue
 */
@Entity
public class BookClassify extends VisibleEntity<Long> {

    /**
     * 分类名称
     */
    private String classifyName;

    /**
     * 分类小图标
     */
    private String icon;

    public BookClassify() {
    }

    public BookClassify(String classifyName, String icon) {
        this.classifyName = classifyName;
        this.icon = icon;
    }

    public String getClassifyName() {
        return classifyName;
    }

    public void setClassifyName(String classifyName) {
        this.classifyName = classifyName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

}
